package com.bicon.base.data.pojo.botu;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 商品评价表
 * </p>
 *
 * @author zhoutyianqi
 * @since 2018-07-25
 */
@TableName("product_comment")
public class ProductComment extends Model<ProductComment> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private String id;
    /**
     * 商户ID
     */
    @TableField("tenant_id")
    private String tenantId;
    /**
     * 用户id
     */
    @TableField("user_id")
    private String userId;
    /**
     * 用户昵称
     */
    @TableField("user_name")
    private String userName;
    /**
     * 用户头像
     */
    @TableField("user_avatar")
    private String userAvatar;
    /**
     * 订单id
     */
    @TableField("order_id")
    private String orderId;
    /**
     * 订单编号
     */
    @TableField("order_no")
    private String orderNo;
    /**
     * 商品id
     */
    @TableField("product_id")
    private String productId;
    /**
     * 商品类型
     */
    @TableField("product_type")
    private String productType;
    /**
     * 商品名称
     */
    @TableField("product_name")
    private String productName;
    /**
     * sku名称
     */
    @TableField("sku_name")
    private String skuName;
    /**
     * 商品sku图片
     */
    @TableField("sku_url")
    private String skuUrl;
    /**
     * 1：好评，2：中评，3：差评）
     */
    private Integer level;
    /**
     * 评论内容
     */
    private String content;
    /**
     * 是否有图，0有，1没有
     */
    @TableField("is_pictures")
    private Integer isPictures;
    /**
     * 图片地址
     */
    @TableField("pictures_url")
    private String picturesUrl;
    /**
     * 客服处理状态：1：未处理，2：已处理
     */
    @TableField("reply_status")
    private Integer replyStatus;
    /**
     * 显示状态 0：是，1：否
     */
    private Integer display;
    /**
     * 客服回复内容
     */
    @TableField("reply_content")
    private String replyContent;
    /**
     * 点赞数量
     */
    @TableField("praise_count")
    private Integer praiseCount;
    /**
     * 商品购买数量
     */
    @TableField("buying_time")
    private Date buyingTime;
    /**
     * 是否匿名 0，否；1是
     */
    @TableField("is_anonymity")
    private Integer isAnonymity;
    /**
     * 删除标志：0正常，1删除
     */
    @TableField("logic_delete")
    private String logicDelete;
    /**
     * 创建时间
     */
    @TableField("create_date")
    private Date createDate;
    /**
     * 更新时间
     */
    @TableField("update_date")
    private Date updateDate;
    /**
     * 商品描述级别（1~5星）
     */
    @TableField("product_service_level")
    private Integer productServiceLevel;
    @TableField("logistics_service_level")
    private Integer logisticsServiceLevel;
    @TableField("customer_service_level")
    private Integer customerServiceLevel;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserAvatar() {
        return userAvatar;
    }

    public void setUserAvatar(String userAvatar) {
        this.userAvatar = userAvatar;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getProductType() {
        return productType;
    }

    public void setProductType(String productType) {
        this.productType = productType;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getSkuName() {
        return skuName;
    }

    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }

    public String getSkuUrl() {
        return skuUrl;
    }

    public void setSkuUrl(String skuUrl) {
        this.skuUrl = skuUrl;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getIsPictures() {
        return isPictures;
    }

    public void setIsPictures(Integer isPictures) {
        this.isPictures = isPictures;
    }

    public String getPicturesUrl() {
        return picturesUrl;
    }

    public void setPicturesUrl(String picturesUrl) {
        this.picturesUrl = picturesUrl;
    }

    public Integer getReplyStatus() {
        return replyStatus;
    }

    public void setReplyStatus(Integer replyStatus) {
        this.replyStatus = replyStatus;
    }

    public Integer getDisplay() {
        return display;
    }

    public void setDisplay(Integer display) {
        this.display = display;
    }

    public String getReplyContent() {
        return replyContent;
    }

    public void setReplyContent(String replyContent) {
        this.replyContent = replyContent;
    }

    public Integer getPraiseCount() {
        return praiseCount;
    }

    public void setPraiseCount(Integer praiseCount) {
        this.praiseCount = praiseCount;
    }

    public Date getBuyingTime() {
        return buyingTime;
    }

    public void setBuyingTime(Date buyingTime) {
        this.buyingTime = buyingTime;
    }

    public Integer getIsAnonymity() {
        return isAnonymity;
    }

    public void setIsAnonymity(Integer isAnonymity) {
        this.isAnonymity = isAnonymity;
    }

    public String getLogicDelete() {
        return logicDelete;
    }

    public void setLogicDelete(String logicDelete) {
        this.logicDelete = logicDelete;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Integer getProductServiceLevel() {
        return productServiceLevel;
    }

    public void setProductServiceLevel(Integer productServiceLevel) {
        this.productServiceLevel = productServiceLevel;
    }

    public Integer getLogisticsServiceLevel() {
        return logisticsServiceLevel;
    }

    public void setLogisticsServiceLevel(Integer logisticsServiceLevel) {
        this.logisticsServiceLevel = logisticsServiceLevel;
    }

    public Integer getCustomerServiceLevel() {
        return customerServiceLevel;
    }

    public void setCustomerServiceLevel(Integer customerServiceLevel) {
        this.customerServiceLevel = customerServiceLevel;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ProductComment{" +
        "id=" + id +
        ", tenantId=" + tenantId +
        ", userId=" + userId +
        ", userName=" + userName +
        ", userAvatar=" + userAvatar +
        ", orderId=" + orderId +
        ", orderNo=" + orderNo +
        ", productId=" + productId +
        ", productType=" + productType +
        ", productName=" + productName +
        ", skuName=" + skuName +
        ", skuUrl=" + skuUrl +
        ", level=" + level +
        ", content=" + content +
        ", isPictures=" + isPictures +
        ", picturesUrl=" + picturesUrl +
        ", replyStatus=" + replyStatus +
        ", display=" + display +
        ", replyContent=" + replyContent +
        ", praiseCount=" + praiseCount +
        ", buyingTime=" + buyingTime +
        ", isAnonymity=" + isAnonymity +
        ", logicDelete=" + logicDelete +
        ", createDate=" + createDate +
        ", updateDate=" + updateDate +
        ", productServiceLevel=" + productServiceLevel +
        ", logisticsServiceLevel=" + logisticsServiceLevel +
        ", customerServiceLevel=" + customerServiceLevel +
        "}";
    }
}
